package com.zs.bean;

import lombok.*;
import org.springframework.data.annotation.Id;

/**
 * Description:
 *
 * @author: zsq-1186
 * Date: 2017-12-04-11:18
 */

@Getter
@Setter
@ToString
@NoArgsConstructor
public class SystemUser {

    public SystemUser(String userName, String email, String phone, String password) {
        this.userName = userName;
        this.email = email;
        this.phone = phone;
        this.password = password;
    }

    @Id
    private String id;
    private String userName;
    private String email;
    private String phone;
    private String password;
    // 0:临时用户  1:永久用户
    private int type;


}
